package com.ssy.lingxi.platform.template.service.service.mobile;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.template.service.entity.door.MemberChannel;
import com.ssy.lingxi.platform.template.service.model.dto.mobile.MemberChannelMainMobileDTO;
import com.ssy.lingxi.platform.template.service.model.vo.mobile.MemberChannelMainMobileVO;
import com.ssy.lingxi.platform.template.service.model.vo.mobile.MemberChannelUpperMobileVO;

import java.util.List;

/**
 * @menu mobile - 会员渠道 - 业务处理层
 * @author fhj
 * @version 2.0.0
 * @date 2020/12/30
 */
public interface MemberChannelMobileService {

    Wrapper<MemberChannelMainMobileVO> memberChannelMain(MemberChannelMainMobileDTO dto);

    Wrapper<MemberChannel> findByInviteCode(String inviteCode, UserLoginCacheDTO user);

    Wrapper<List<MemberChannelUpperMobileVO>> findUpperChannel(UserLoginCacheDTO user);
}
